import { useNavigate } from "react-router-dom";
import { Empty, Button } from "antd";
import { ArrowLeftOutlined } from "@ant-design/icons";
const Cempty = () => {
	const navigate = useNavigate();
	function goBack() {
		navigate(-1);
	}
	return (
		<>
			<Empty className="wh-full f-col-c-c">
				<Button type="primary" icon={<ArrowLeftOutlined />} onClick={goBack}>
					返回上一页
				</Button>
			</Empty>
		</>
	);
};
export default Cempty;
